package com.common.mybatis.enums.order;

import com.common.mybatis.dict.annotation.EnumDictAnnotation;
import com.common.mybatis.enumeration.BaseEnum;

@EnumDictAnnotation("订单状态")
public enum OrderStatus implements BaseEnum {

    PREPARE(1,"准备"),
    PACK(2,"打包"),
    POST(3,"邮寄"),
    ;

    private int index;
    private String description;

    OrderStatus(int index, String description){
        this.index = index;
        this.description = description;
    }

    @Override
    public int getIndex() {
        return index;
    }

    @Override
    public String getDescription() {
        return description;
    }

}
